
local Materials = {
	["sf_skywalk"] = {
		"valley",
		"Canyon"
	},
	["sf_abandon"] = false,
	["sf_astrodome"] = false,
	["sf_basin"] = false,
	["sf_canyon"] = false,
	["sf_crete"] = false,
	["sf_fronts"] = false,
	["sf_overload"] = false,
	["sf_overloaded"] = false,
	["sf_sphinx"] = false,
	["sf_tactical"] = false
}

hook.Add( "Initialize", "LoadMapResources", function()

	local MapTbl = Materials[ game.GetMap( ) ]

	if MapTbl then
		for _, v in pairs( MapTbl ) do
			resource.AddFile( string.lower( "materials/" .. v .. ".vmt") )
		end
	end
	
end )